package example2;

public class Business {
	IWriter writer;
	public Business(){
		writer = new UsbDiskWriter();
	}
	public void save(){
		System.out.println("业务数据保存");
		writer.save();
	}
	
	public static void main(String[] args) {
		Business business = new Business();
		business.save();
	}
}
